package com.example.demo.alarm.service;

import com.example.demo.alarm.dao.AlarmSensorVo;
import com.example.demo.system.utility.Result;

public interface AlarmSensorService {

    Result getList(Integer pageNum, Integer pageSize, String name);

    Result get(Integer deviceId);

    Result add(AlarmSensorVo alarmSensorVo);

    Result update(AlarmSensorVo alarmSensorVo);

    Result delete(Integer sensorId);

    Result deleteSensor(Integer deviceId);

}
